package com.rd.student.ruanjian.class1.duhang.exam;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class Input {
    public Input() throws IOException {}
    File file = new File("D:\\gitclone\\rd2304\\src\\com\\rd\\student\\ruanjian\\class1\\duhang\\exam");
    Writer writer = new FileWriter("Student.txt");
        void write(String a) throws IOException {
            String s = "姓名 语文成绩 数学成绩 总分";
            writer.write(s);
            writer.write(a);
            writer.close();
    }
}
